package com.jrx.anytxn.param.service.aviator;

import com.jrx.anytxn.i18n.response.TxnRespResult;
import com.jrx.anytxn.common.exception.TxnException;
import com.jrx.anytxn.param.entity.RuleSelect;

import java.util.HashMap;
import java.util.List;

/**
 * @author Qingyao Xing
 * @date 2019/7/17 13:59
 */
public interface IRuleResultService {

    /**
     * 根据表名查询下拉列表
     *  @param tableName 表名
     *  @param organizationId 机构号
     * @return com.jrx.anytxn.common.data.TxnRespResult<java.util.HashMap   <   java.lang.String   ,   java.util.List   <   com.jrx.anytxn.param.entity.RuleSelect>>>
     * @author Qingyao Xing
     * @date 2019/7/17 15:09
     * @throws TxnException
     */
    TxnRespResult<HashMap<String, List<RuleSelect>>> getRuleMap(String tableName, String organizationId,String tenantId,String type) throws TxnException;

}
